import React, { FC } from "react";
import MultiBarChart from "@/components/MultiBarChart";
import useGetVersionDistData from "@/hooks/useGetVersionDistData";

const MultiBarView: FC = () => {
  const { containerDist } = useGetVersionDistData();
  const lineStyle = {
    width: "100%",
    height: "350px",
  };
  return (
    <div style={{ width: "100%", marginTop: "10px" }}>
      <MultiBarChart containerDist={containerDist} lineStyle={lineStyle} />
    </div>
  );
};

export default MultiBarView;
